<script type="text/javascript">
 function checkLogin()
 {
     alert('您还没有登陆');
     return false;
 }
 </script>
<div id="indexcates" >
        <div class="row-fluid" >
            <ul class="breadcrumb">
                <li><a href="#">国家级名师 </a> </li>
            </ul>
        </div>			
        <div id="01">
            <div class="row-fluid">
                <?php
                       $sql = "select * from nettteach_member where star='1' and type in('1','2') and state='1' ";
                       $result_teacher = $db -> query($sql);
                       while($row_teacher=$db->fetch_array($result_teacher)){
                ?>
                 <div class="span4" align="center" style="width: 170px;padding-left: 1%;height: 200px;">
                     <img style="max-width: 120px;height:90px" src="<?php echo "backstage/".$row_teacher['photo']?>" />
                    <h1 ><a href="?do=starteacher&tid=<?php echo $row_teacher['id']?>" ><?php echo($row_teacher['realname']);?> 老师</a></h1>
                        <p>任课系：<?php echo fs_get_objinfo(nettteach_department, id, $row_teacher['departmentid'], name)	?>	  </p>
                        <p>专业：<?php echo fs_get_objinfo(nettteach_major, id, $row_teacher['majorid'], name)	?>	  </p>
                        <p><a class="btn btn-info" href="?do=starteacher&tid=<?php echo $row_teacher['id']?>" >详细信息 »</a></p>   
                </div><!--/span-->
                        <?php 
                            }
                        ?>
            </div><!--/row-->
    </div>
    
        <div class="row-fluid" >
            <ul class="breadcrumb">
                <li><a href="#">省级名师 </a> </li>
            </ul>
        </div>			
        <div id="01">
            <div class="row-fluid">
                <?php
                       $sql = "select * from nettteach_member where star='2' and type in('1','2') and state='1' ";
                       $result_teacher = $db -> query($sql);
                       while($row_teacher=$db->fetch_array($result_teacher)){
                ?>
                 <div class="span4" align="center" style="width: 170px;padding-left: 5px;height: 200px;">
                     <img style="max-width: 120px;height:90px"  src="<?php echo "backstage/".$row_teacher['photo']?>" />
                    <h1 ><a href="?do=starteacher&tid=<?php echo $row_teacher['id']?>" ><?php echo($row_teacher['realname']);?> 老师</a></h1>
                        <p>任课系：<?php echo fs_get_objinfo(nettteach_department, id, $row_teacher['departmentid'], name)	?>	  </p>
                        <p>专业：<?php echo fs_get_objinfo(nettteach_major, id, $row_teacher['majorid'], name)	?>	  </p>
                        <p><a class="btn btn-info" href="?do=starteacher&tid=<?php echo $row_teacher['id']?>"  >详细信息 »</a></p>   
                </div><!--/span-->
                        <?php 
                            }
                        ?>
            </div><!--/row-->
            
        </div>
        <div class="row-fluid" >
            <ul class="breadcrumb">
                <li><a href="#">校级名师 </a> </li>
            </ul>
        </div>			
        <div id="01">
            <div class="row-fluid">
                <?php
                       $sql = "select * from nettteach_member where star='3' and type in('1','2') and state='1' ";
                       $result_teacher = $db -> query($sql);
                       while($row_teacher=$db->fetch_array($result_teacher)){
                ?>
                 <div class="span4" align="center" style="width: 170px;padding-left: 1%;height: 200px;">
                     <img style="max-width: 120px;height:90px" src="<?php echo "backstage/".$row_teacher['photo']?>" />
                    <h1 ><a href="?do=starteacher&tid=<?php echo $row_teacher['id']?>" ><?php echo($row_teacher['realname']);?> 老师</a></h1>
                        <p>任课系：<?php echo fs_get_objinfo(nettteach_department, id, $row_teacher['departmentid'], name)	?>	  </p>
                        <p>专业：<?php echo fs_get_objinfo(nettteach_major, id, $row_teacher['majorid'], name)	?>	  </p>
                        <p><a class="btn btn-info" href="?do=starteacher&tid=<?php echo $row_teacher['id']?>" >详细信息 »</a></p>   
                </div><!--/span-->
                        <?php 
                            }
                        ?>
            </div><!--/row-->

    </div>
</div>
